perm filename FILDMP.RPH[UP,DOC] blob
sn#002761 filedate 1972-10-09 generic text, type T, neo UTF8
STANFORD ARTIFICIAL INTELLIGENCE LABORATORY AUG 1972
OPERATING NOTE xx
FILDMP
by
Richard P. Helliwell
A program to list any file in a number of
different formats, such as ascii, sixbit,
instruction, radix50, octal, etc.
This work was supported in part by the The Advanced Research Projects
Agency of the Department of Defense under Contract SD-183.
COMMANDS TO FILDMP
When FILDMP starts up it types a brief summary of the modes
available and then asks which ones you want to use. The order of the
output columns is the same as the order in which you type the modes.
Modes may be repeated as many times as wanted, but the total number of
modes is limited to 20. If any mode or argument to a mode is illegal,
you will get an error message from which you may not continue. If the
total length of the output line exceeds 120 characters, you will get an
error message from which you may continue if you wish. Each word of
input will then generate more than one line of output.
Now a little about modes in general. In the following table, a
lower case n is used to indicate a numeric argument to the mode. All
modes are single upper case letters. The effect of the argument is
described at the right.
MODE ** ARG *** MEANING ***********************************************
nL Print number of word in file + n. If no arg, 0 is assumed.
The first word of the file is number 0.
I Print word as instruction.
H Print word as octal halfwords, separated by ",,".
nO Print word as n bit bytes in octal, any odd byte at the end of
the word is printed left justified in an n bit byte. n may be
any number number from 1 to 36 decimal inclusive.
D Print word as signed decimal number.
F Print word as signed floating point number (uses CVE function
in SAIL).
5T Print word in Radix 50.
6T Print word in Sixbit.
7T Print word in Ascii. Codes 11 to 15 and 177 octal are printed
as the octal number enclosed in brokets. If the low order bit
of the word is on, "<+1>" is printed.
9T Print as four nine bit bytes, if 400 bit is on print a plus-
minus sign, if 200 bit is on print an integral sign, print the
low order 7 bits the same as in 7T.
FILENAMES
At this point FILDMP requests an input filename. The format is
the same as to most other processors (no *'s please). If there is an
error on the lookup the prompt will be repeated.
Now FILDMP opens the logical device "DSK" for output, unless
the logical name "LST" has been assigned to some device, in which case
it is opened instead.
If the device now open for output has a directory, FILDMP will
ask for an output filename, errors are handled the same as for lookup.
If for the output filename you type <cr>, the name "FILDMP.LST"
will be used.
OUTPUT
At the top of each page, a heading is printed describing the
contents of the various columns. If FILDMP is printing the location
in some column, then any range of 3 or more identical words is
printed as the first and last word of the range seperated by a blank
line.
Upon completion of the listing, if the output device was the
disk, FILDMP will type into your input buffer a command to spool and
delete the output file. If you don't want this to happen, type ↑C at
this point.